package com.service;

import com.bean.*;

import java.util.List;

public interface SellService {
    Sell sellInit(User user, Customer customer,String address);

    List<SellInfo> getAllGoods(User user,Customer customer,String address);

    int addGoods(int key , int number, Sell sell);

    boolean deleteGoods(int key);

    boolean updateGoodsNumber(int key,int number);

    boolean outWarehouse(User user, Customer customer,String address);

    List<Sell> getAllSell();

    Sell getSelectSell(int key);

    List<SellInfo> getSellInfo(Sell sell);

    int getMoney(User user,Customer customer,String address);

    List<Sell> getFindSell(String custoerName,String startDate,String endDate);
}
